package com.hm.scala.inf

import scala.beans.BeanProperty

class User {

  @BeanProperty var id:String = null;

  @BeanProperty var name:String = null;
  @BeanProperty var age:Int = 0;
  @BeanProperty var sex:String = null;

  def this(id: String, name: String, age: Int, sex: String) {
    this()
    
    this.id = id;
    this.name = name;
    this.age = age;
    this.sex = sex;
  }
  
  
}